<?php


namespace dsp\chainOfResponsibility;

/** chain of responsibility Handler */
interface Handler
{
    public function setNext(Handler $handler): Handler;

    public function handle(string $req);

}